<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>打印合格证</title>
    <style type="text/css">
        .tg  {border-collapse:collapse;border-spacing:0;}
        .tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
        .tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
        .tg .tg-s6z2{text-align:center}
        .tg .tg-baqh{text-align:center;vertical-align:top}
    </style>

    <script language="javascript" src="jquery-1.8.3.min.js"></script>
    <script language="javascript" src="WarnPrint.js"></script>
    <script language="javascript" src="template.js"></script>
    <script language="javascript">
    function showAndroid(str) {
            var data = JSON.parse(str);
            var head = data.headDetail;
            alert(head.fbillno);
            document.getElementById("fhdh").innerText=head.fbillno
            document.getElementById("shdw").innerText=head.FReceive
            document.getElementById("shdz").innerText=head.faddress
            document.getElementById("lxdh").innerText=head.FTel
            document.getElementById("lxr").innerText=head.FContacts
            document.getElementById("sjh").innerText=head.FMobile
            document.getElementById("rq").innerText=head.FDate
            document.getElementById("fhdw").innerText="郑州安图生物工程股份有限公司"




            var html = "<ul>";
            for (var i = 0; i < data.bodyList.length; i++) {
                html += '<li><span>' + data.bodyList[i].FEntryName + '</span>&nbsp;&nbsp;&nbsp;<span>' + data.bodyList[i].FDoneNumber + '</span></li>'
            }
            html += '</ul>'
            document.getElementById("title").innerHTML = html;
            }
    </script>
</head>
<body >
    <table class="tg" style="undefined;table-layout: fixed; width: 300px">
        <colgroup>
            <col style="width: 75px">
            <col style="width: 225px">
        </colgroup>
        <tr>
            <th class="tg-baqh">发货单号</th>
            <th id="fhdh" class="tg-yw4l"></th>
        </tr>
        <tr>
            <td class="tg-nrw1">收货单位</td>
            <td id="shdw" class="tg-baqh"></td>
        </tr>
        <tr>
            <td class="tg-nrw1">收货地址</td>
            <td id="shdz" class="tg-baqh"></td>
        </tr>
        <tr>
            <td class="tg-baqh">联系人</td>
            <td id="lxr" class="tg-yw4l"></td>
        </tr>
        <tr>
            <td class="tg-baqh">联系电话</td>
            <td id="lxdh" class="tg-yw4l"></td>
        </tr>
        <tr>
            <td class="tg-baqh">手机号</td>
            <td id="sjh" class="tg-yw4l"></td>
        </tr>
        <tr>
            <td class="tg-baqh">日期</td>
            <td id="rq"class="tg-yw4l"></td>
        </tr>
        <tr>
            <td class="tg-baqh">发货单位</td>
            <td id="fhdw" class="tg-yw4l"></td>
        </tr>

        <tr>
            <td class="tg-baqh">备注</td>
            <td class="tg-yw4l"></td>
        </tr>
    </table>
    <div id="title" style="undefined;table-layout: fixed; width: 290px">产品清单</div>
</body>
</html>